<?php
namespace app\common\validate;

use think\validate;

class RoleValidate extends validate
{
    protected $rule = [
        'title' => 'require|unique:auth_group',
    ];

    protected $message = [
        'title.require' => '角色名称必须填写',
        'title.unique'  => '角色名称已经存在',
    ];

}
